#ifndef _VEC_H
#define _VEC_H

class Vec
{
public:
	int x;
	int y;
	Vec() {x = 0; y = 0;}
	Vec(int _x, int _y) {x = _x; y = _y;}
	Vec operator+(Vec a) {return Vec(x + a.x, y + a.y);}
  Vec operator+=(Vec a) {x += a.x; y += a.y; return *this;}
  bool operator==(Vec a) {return (x == a.x && y == a.y);}
  bool operator!=(Vec a) {return (x != a.x || y != a.y);}
};

#endif